package com.goods.business.service;

import com.goods.common.model.business.InStock;
import com.goods.common.model.business.InStockInfo;
import com.goods.common.vo.business.FindInStockQueryVo;
import com.goods.common.vo.business.InStockDetailVO;
import com.goods.common.vo.business.InStockVO;
import com.goods.common.vo.system.PageVO;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

public interface InStockService {
    // 入库信息展示
    PageVO<InStockVO> findInStockList(FindInStockQueryVo findInStockQueryVo);

    // 查询入库信息明细
    InStockDetailVO detailInStock(Long id, Integer pageNum);

    // 修改状态
    void changeStatus(Long id, int status);

    // 删除入库信息
    void deleteInStock(Long id);

    // 新增入库
    void addIntoStock(InStockVO inStockVO, String username);
}
